package com.summer.peony.myinterface.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.summer.peony.myinterface.pojo.MyInterface;
import com.summer.peony.myinterface.pojo.MyInterfaceExample;

@Mapper
public interface MyInterfaceMapper {
	long countByExample(MyInterfaceExample example);

	int deleteByExample(MyInterfaceExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(MyInterface record);

	int insertSelective(MyInterface record);

	List<MyInterface> selectByExample(MyInterfaceExample example);

	MyInterface selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") MyInterface record, @Param("example") MyInterfaceExample example);

	int updateByExample(@Param("record") MyInterface record, @Param("example") MyInterfaceExample example);

	int updateByPrimaryKeySelective(MyInterface record);

	int updateByPrimaryKey(MyInterface record);
}